<?php defined('SYSPATH') or die('No direct script access.');
require ('application/classes/dao/base.php');

class Controller_chinam extends Controller {


    public function action_getCity(){
        $parm = get($this->request);
        if(!isset($parm['id']) ||($parm['id'])==""){
            die( "id不能为空");
        }
        $result = rpcCall("china.getCity",$parm);
        echo json_encode($result);
    }

}